package STUDENT.TRANDAODAIVI.BASIC.BaiTapCauTruc;

import java.util.Scanner;
public class BT1 {
public static void main(String[] args) {
	Scanner input=new Scanner(System.in);
	String tk,pass;
	//Input info:
	//username
	System.out.print("Username: ");
	tk=input.nextLine();
	if (tk.isEmpty()){
		System.out.println("Please input username");
	} 
	else{
	//pass	
	System.out.print("Password: ");
	pass=input.nextLine();
	if(pass.isEmpty()){
		System.out.println("Please input password");}
	
	//check info:
	else if(tk.equals("abc")&&pass.equals("123456")){
		System.out.println("Sign in successfull");
}   else{
		System.out.println("Sign in failed, please check your information");
	}}}
}